import os
# print(os.getcwd())
# dir(os)

import glob
# print(glob.glob('*.py'))

# import sys
# print(sys.argv)

# import re
# print(re.findall(r'\bf[a-z]*', 'which foot or hand fell fastest'))
# print(re.sub(r'(\b[a-z]+) \1', r'\1', 'cat in the the hat'))

# import math
# print(math.pi)

# from urllib.request import urlopen
#
# for line in urlopen('http://www.baidu.com'):
#     line = line.decode('utf-8')  # Decoding the binary data to text.
#     if 'EST' in line or 'EDT' in line:  # look for Eastern Time
#         print(line)

# from datetime import date
# now = date.today()
# print(now)

# def average(values):
#     """Computes the arithmetic mean of a list of numbers.
#     print(average([20, 30, 70]))
#     40.0
#     """
#     return sum(values) / len(values)
#
# import doctest
# doctest.testmod()   # 自动验证嵌入测试